package com.example.myapplication.Kotlin

fun main() {
    val res=printPulse("kkkkkkkkkkkk")
    val iData = IData("哈哈")
    printPulse(iData.getSome())
}

class IData<T> constructor(var name:T){
    fun getSome():T{
        return  name
    }
}
fun <T> printPulse(a:T):T{
    println(a)
    return a
}